package so.sao.shop.supplier.domain;

/**
 * <p>Version: supplier V1.1.0 </p>
 * <p>Title: AppAddress</p>
 * <p>Description: </p>
 *
 * @author: liugang
 * @Date: Created in 2017/11/20 15:23
 */
public class AppAddress {
    /**
     * 名称
     */
    private String name;
    /**
     * ID值
     */
    private String value;
    /**
     * 父级ID
     */
    private String parent;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getParent() {
        if ("0".equals(parent)){
            return null;
        }
        return parent;
    }

    public void setParent(String parent) {
        this.parent = parent;
    }
}
